Skip to content

Updated config.py with additional environment variables, validation, and structured settings#42

Merged
Vaibhav2154 merged 1 commit intoVaibhav2154:mainfrom
rajnil9:main
Aug 26, 2025
Merged

Updated config.py with additional environment variables, validation, and structured settings#42
Vaibhav2154 merged 1 commit intoVaibhav2154:mainfrom
rajnil9:main

Conversation

@rajnil9
Copy link
Contributor

@rajnil9 rajnil9 commented Aug 25, 2025

Issue number : #38

After successfully changing the code it does the following :

•DEBUG → for toggling debug mode
•SECRET_KEY → for authentication/security purposes
•API_VERSION → for versioning APIs
•LOG_LEVEL → for logging control
•Add a validator to ensure DATABASE_URL follows the correct format (postgresql://).
•Used model_config (instead of setting) for proper pydantic_settings configuration.
•Improve readability and maintainability of the config file.

@vercel
Copy link

vercel bot commented Aug 25, 2025

@rajnil9 is attempting to deploy a commit to the vaibhav2154's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@rajnil9
Copy link
Contributor Author

rajnil9 commented Aug 25, 2025

Hey admin please look into the issue for some reason i am unable to tag u here so I am tagging u in the issue only .

@Vaibhav2154 Vaibhav2154 merged commit ff744f1 into Vaibhav2154:main Aug 26, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants